package com.miao.controller.front;

import com.miao.vo.*;
import com.sun.org.apache.bcel.internal.generic.INSTANCEOF;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.models.auth.In;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @author: 丰
 * @date: 2023/3/2 18:02
 */
@RestController
@RequestMapping("/front/chat")
@Api(tags = "聊天接口")
public class ChatController {

    @GetMapping("/query")
    @ApiOperation("聊天信息查询")
    public ResultVo<List<ChatVo>> query(@RequestBody ChatQueryVo chatQueryVo){
        return null;
    }

    @PostMapping("/sending")
    @ApiOperation("发送聊天信息")
    public ResultVo<Integer> sending(@RequestBody ChatVo chatVo){
        return null;
    }

    @GetMapping("/queryMsg/{userId}")
    @ApiOperation("查看聊天消息")
    public ResultVo<List<ChatMsgVo>> queryMsg(@PathVariable("userId") Integer userId){
        return null;
    }


}
